/*
 * @description:
 * @version:
 * @Author: 王治飞
 * @Date: 2023-08-22 14:57:40
 * @LastEditors: 王治飞
 * @LastEditTime: 2023-08-22 16:13:53
 */
import PropTypes from 'prop-types'
import React, { memo } from 'react'
import { LongItemWrap } from './style'

const LongItem = memo(props => {
  const { item } = props
  return (
    <LongItemWrap $imgurl={item.picture_url}>
      <div className="cover">
        <div className="shadow">
          <div className="city">{item.city}</div>
          <div className="price">均价：{item.price}</div>
        </div>
      </div>
    </LongItemWrap>
  )
})

LongItem.propTypes = {
  item: PropTypes.object
}

export default LongItem
